docs: document is_active field on Odds (SHA-3803)#255
Merged
Conversation
Add `is_active` to the OpenAPI Odds schema + the /odds field reference (false = market suspended/closed, price frozen; mirrors OpticOdds locked-odds; absent treated as true). Bumps openapi info.version 2.1.0 -> 2.2.0 with the matching CHANGELOG entry required by the openapi-version-check gate. Type: docs Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add the odds:locked SSE + WS event (sharp-api-go #725) to stream.mdx and websocket.mdx, plus an is_active row in the OddsDelta table. Supplementary OpticOdds-locked-odds analogue; suspended rows also ride odds:update with is_active=false. Content/MDX only — no openapi.json schema change, so no further info.version bump. Type: docs Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…3803) The OddsDelta table omitted dynamic fields that deltas carry (is_main_line, is_alternate_line, is_stale_pregame_price, exchange volumes) and didn't spell out the static-vs-dynamic split. Document the real compact delta shape and the "merge by id, never read static fields off a delta" contract. Pairs with the server-side delta compaction (sharp-api-go #726). Content/MDX only. Type: docs Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Merge gate (auto-classified): gate=fixes-issue — auto-classified by the gate-log enforcer (15min after merge, no Posted by |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the new
is_activemarket-suspension field (sharp-api-go #725 / api-adapters #1239).is_activeto the OpenAPIOddsschema (not required) + the /odds field-reference table.info.version2.1.0 → 2.2.0 with the matching CHANGELOG## 2.2.0entry required by the openapi-version-check gate.false= market suspended/closed, price frozen; mirrors OpticOdds locked-odds; absent treated astrue. Refs SHA-3803.Type: docs
🤖 Generated with Claude Code